package com.car.order.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.car.order.client.model.shopping.goodsInfo.GoodsInfoDto;
import com.car.order.dto.goodOrderInfo.GoodsInfoDetail;
import com.car.order.dto.goods.GoodsDto;
import com.car.order.dto.goods.GoodsForShoppingCar;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 *
 *
 * @author 杜岷芫
 * @since 2024-09-05 18:59:29
 */
@Data
@TableName("shopping_car")
@ApiModel(value = "ShoppingCar", description = " ")
public class ShoppingCar implements Serializable{

    private static final long serialVersionUID=1L;

    /**
     *  用户ID
     */
    @ApiModelProperty("用户ID")
    private Integer userId;

    /**
     *  商品ID
     */
    @ApiModelProperty("商品ID")
    private Integer goodsId;

    /**
     *  商品状态
     */
    @ApiModelProperty("商品状态")
    private Integer goodsState;

    /**
     *  商品库存
     */
    @ApiModelProperty("商品库存")
    private Integer goodsStock;

    /**
     *  购物车里商品数量
     */
    @ApiModelProperty("购物车里商品数量")
    private Integer goodsCount;

    private GoodsInfoDto goods;
}